﻿using System.ComponentModel.DataAnnotations;

namespace Models
{
    public class Member
    {
        [Key]
        public int Id { get; set; }
        public string Name { get; set; }
        public int Age { get; set; }
        /// <summary>
        /// 1表示男2表示女3保密
        /// </summary>
        public int Sex { get; set; }
        /// <summary>
        /// 爱好
        /// “读书,游泳,登山,编程,游戏”
        /// </summary>
        public string Hobby { get; set; }
        /// <summary>
        /// 会员等级编号
        /// </summary>
        public int Mid { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate { get; set; }
        public string Phone { get; set; }
        /// <summary>
        /// 头像 上传
        /// </summary>
        public string Img { get; set; }
        /// <summary>
        /// true正常 false禁用
        /// </summary>
        public bool Types { get; set; }
    }
}
